Repository navigation
Conversation
Adds METTLE 1.5 (https://huggingface.co/slideflow-labs/mettle-1.5) as `mettle15`: config, download entry, loader, embedding extraction (1536-dim refined CLS for classification, 1536-dim patch tokens for segmentation), LoRA block names, docs. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SxonfkyZzXXwd2ggTQZXxQ
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds METTLE 1.5 from Slideflow Labs as
mettle15. We would like it to be considered for the THUNDER leaderboards.METTLE 1.5 is a robustness fine-tune of H-optimus-0 for histopathology tile feature extraction: ViT-g/14 with four register tokens and a CLS refinement head, 224 × 224 input. The weights are on the Hugging Face Hub under CC-BY-NC-ND-4.0 with gated access (automatic approval after accepting the terms on the model page), like the other gated models THUNDER supports. (Updated: the license and gating were set on the model card after this PR was opened; the local validation below was run before gating was enabled.)
What this adds
config/pretrained_model/mettle15.yaml, the download entry (weights plus the model's config and code files) and aget_mettleloader. The model has a small head on top of the timm backbone, so it loads throughAutoModelwithtrust_remote_code=Truefrom the downloaded folder, as KEEP does.backbone.blocks,attn.qkv), README and docs entries.Evaluate with the standard THUNDER workflow:
Local validation
CPU, FP32, with
timm 1.0.20, on two synthetic 256 × 256 RGB tiles, throughdownload_models("mettle15")andget_model_from_name("mettle15", "cpu"):Not done here: no THUNDER dataset or task was run, so this PR reports no benchmark numbers, and nothing was run on GPU.
🤖 Generated with Claude Code
https://claude.ai/code/session_01SxonfkyZzXXwd2ggTQZXxQ